<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ include file="init.jsp"%>


<ts:pageTemplate>
	<div id="page-wrapper">
		<div id="absolute-wrapper">
			<form method="post" id="newTest" action="/FaTestingSystem/createTest">
				<textarea name="title" class="input-xxlarge input-xxlarge-1"
					placeholder="Title"></textarea>

				<div id="questions">
					<script type="text/javascript"
						src="/FaTestingSystem/resources/js/logics/constructor.js"></script>

					<script>
				resetCookie();
				addQuestion();
			  </script>
				</div>
				<button class="btn btn-warning pull-left" type="button"
					onclick="addQuestion()">Add question</button>
				<button class="btn btn-warning pull-right" type="submit">Submit
					test</button>
			</form>
		</div>
	</div>
</ts:pageTemplate>